package com.gzzn.validate.support;

import com.gzzn.validate.internal.Rule;

/**
 * author : zdp（zdp118@gmail.com）
 * date   : 2014-3-2
 * 电话号码校验器
 */
public class MobilePhoneValidate extends ValidateWithRegex {
	
	static final String PHONE_REGEX = "^(\\+?\\d{2}-?)?((13[0-9])|(14[5-9])|(15[^4,//D])|(18[0,5-9]))\\d{8}$";

	final static String messageT = "Please enter a valid mobile phone number.";
	
	public MobilePhoneValidate() {
		super(messageT,Rule.MobilePhone,PHONE_REGEX);
	}


}
